org.kuali.student.core.assembly.old
Class BaseAssembler<TargetType,SourceType>

java.lang.Object
  extended by org.kuali.student.core.assembly.old.BaseAssembler<TargetType,SourceType>
All Implemented Interfaces:
Assembler<TargetType,SourceType>
Direct Known Subclasses:
CluSetManagementAssembler, OrgProposalAssembler

Deprecated.

@Deprecated
public abstract class BaseAssembler<TargetType,SourceType>
extends Object
implements Assembler<TargetType,SourceType>


Nested Class Summary
static class BaseAssembler.Permission
          Deprecated.  
 
Field Summary
protected  Logger LOG
          Deprecated.  
protected  MetadataServiceImpl metadataService
          Deprecated.  
protected  PermissionService permissionService
          Deprecated.  
 
Constructor Summary
BaseAssembler()
          Deprecated.  
 
Method Summary
protected  void applyPermissionsToMetadata(Metadata metadata, String idType, String id)
          Deprecated.  
 boolean checkDocumentLevelPermissions()
          Deprecated.  
protected abstract  String getDataType()
          Deprecated. This method should return the data type of the implementing assembler
 Metadata getDefaultMetadata()
          Deprecated.  
protected abstract  String getDocumentPropertyName()
          Deprecated. This method should return the root document property name
protected abstract  String getDtoName()
          Deprecated. This method should return the DTO name of the implementing assembler
protected  Map<String,String> getFieldAccessPermissions(String dtoName, String idType, String id)
          Deprecated.  
 Metadata getMetadata(String idType, String id, String type, String state)
          Deprecated.  
private static String[] getPathTokens(String fieldPath)
          Deprecated.  
protected abstract  AttributeSet getQualification(String idType, String id)
          Deprecated. This method should return the qualification name for the document type
protected  boolean hasValidationErrors(List<ValidationResultInfo> validationResults)
          Deprecated.  
 void setMetadataService(MetadataServiceImpl metadataService)
          Deprecated.  
 void setPermissionService(PermissionService permissionService)
          Deprecated.  
private  void setReadOnly(Metadata metadata, boolean readOnly)
          Deprecated.  
 List<ValidationResultInfo> validate(Data data)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.student.core.assembly.old.Assembler
assemble, disassemble, get, save, validate
 

Field Detail

LOG

protected final Logger LOG
Deprecated. 

permissionService

protected PermissionService permissionService
Deprecated. 

metadataService

protected MetadataServiceImpl metadataService
Deprecated. 
Constructor Detail

BaseAssembler

public BaseAssembler()
Deprecated. 
Method Detail

getFieldAccessPermissions

protected Map<String,String> getFieldAccessPermissions(String dtoName,
                                                       String idType,
                                                       String id)
Deprecated. 

setReadOnly

private void setReadOnly(Metadata metadata,
                         boolean readOnly)
Deprecated. 

getMetadata

public Metadata getMetadata(String idType,
                            String id,
                            String type,
                            String state)
                     throws AssemblyException
Deprecated. 
Specified by:
getMetadata in interface Assembler<TargetType,SourceType>
Throws:
AssemblyException

applyPermissionsToMetadata

protected void applyPermissionsToMetadata(Metadata metadata,
                                          String idType,
                                          String id)
Deprecated. 

getDefaultMetadata

public Metadata getDefaultMetadata()
Deprecated. 
Specified by:
getDefaultMetadata in interface Assembler<TargetType,SourceType>

hasValidationErrors

protected boolean hasValidationErrors(List<ValidationResultInfo> validationResults)
Deprecated. 

validate

public List<ValidationResultInfo> validate(Data data)
                                    throws AssemblyException
Deprecated. 
Throws:
AssemblyException

getPathTokens

private static String[] getPathTokens(String fieldPath)
Deprecated. 

checkDocumentLevelPermissions

public boolean checkDocumentLevelPermissions()
Deprecated. 

getDataType

protected abstract String getDataType()
Deprecated. 
This method should return the data type of the implementing assembler

Returns:
the data type, i.e. "CreditCourseProposal" from the CreditCourseProposalAssembler

getDtoName

protected abstract String getDtoName()
Deprecated. 
This method should return the DTO name of the implementing assembler

Returns:
the DTO name, i.e. "kuali.lu.type.CreditCourse" from the CreditCourseProposalAssembler

getDocumentPropertyName

protected abstract String getDocumentPropertyName()
Deprecated. 
This method should return the root document property name

Returns:
the document property name, i.e. "course" from the CreditCourseProposalAssembler

getQualification

protected abstract AttributeSet getQualification(String idType,
                                                 String id)
Deprecated. 
This method should return the qualification name for the document type

Returns:
the qualifications in at AttributeSet

setPermissionService

public void setPermissionService(PermissionService permissionService)
Deprecated. 

setMetadataService

public void setMetadataService(MetadataServiceImpl metadataService)
Deprecated. 


Copyright © 2010 The Kuali Foundation. All rights reserved.