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

java.lang.Object
  extended by org.kuali.student.r1.common.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.PermissionEnum
          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.  
protected abstract  Map<String,String> 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.  
 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.r1.common.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. 

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

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 Map<String,String> 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 © 2004-2013 The Kuali Foundation. All Rights Reserved.