org.kuali.student.lum.lu.ui.tools.server.gwt
Class CluSetDataService

java.lang.Object
  extended by org.kuali.student.lum.lu.ui.tools.server.gwt.CluSetDataService
All Implemented Interfaces:
DataService

public class CluSetDataService
extends Object
implements DataService


Field Summary
private  Assembler<Data,Void> assembler
           
(package private) static Logger LOG
           
private  MetadataServiceImpl metadataService
           
 
Constructor Summary
CluSetDataService()
           
 
Method Summary
 Assembler<Data,Void> getAssembler()
           
 Data getData(String dataId)
           
protected  String getDefaultMetaDataState()
           
protected  String getDefaultMetaDataType()
           
 Metadata getMetadata(String id, Map<String,String> idAttributes)
           
 MetadataServiceImpl getMetadataService()
           
 Boolean isAuthorized(PermissionType type, Map<String,String> attributes)
           
 DataSaveResult saveData(Data data)
           
 void setAssembler(Assembler<Data,Void> assembler)
           
 void setMetadataService(MetadataServiceImpl metadataService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

static final Logger LOG

assembler

private Assembler<Data,Void> assembler

metadataService

private MetadataServiceImpl metadataService
Constructor Detail

CluSetDataService

public CluSetDataService()
Method Detail

getMetadataService

public MetadataServiceImpl getMetadataService()

setMetadataService

public void setMetadataService(MetadataServiceImpl metadataService)

getAssembler

public Assembler<Data,Void> getAssembler()

setAssembler

public void setAssembler(Assembler<Data,Void> assembler)

getData

public Data getData(String dataId)
             throws OperationFailedException,
                    DoesNotExistException,
                    InvalidParameterException,
                    MissingParameterException,
                    OperationFailedException
Specified by:
getData in interface DataService
Throws:
OperationFailedException
DoesNotExistException
InvalidParameterException
MissingParameterException

getMetadata

public Metadata getMetadata(String id,
                            Map<String,String> idAttributes)
Specified by:
getMetadata in interface DataService

getDefaultMetaDataType

protected String getDefaultMetaDataType()

getDefaultMetaDataState

protected String getDefaultMetaDataState()

isAuthorized

public Boolean isAuthorized(PermissionType type,
                            Map<String,String> attributes)
Specified by:
isAuthorized in interface DataService

saveData

public DataSaveResult saveData(Data data)
                        throws OperationFailedException,
                               DataValidationErrorException
Specified by:
saveData in interface DataService
Throws:
OperationFailedException
DataValidationErrorException


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.